﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Setting.Master" AutoEventWireup="true" CodeBehind="CompanyFavoriteList.aspx.cs" Inherits="WebSite.Company.CompanyFavoriteList" %>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="../JS/My97DatePicker/WdatePicker.js"></script>
    <title>友赢网 - 个人中心 - 我收藏的小组</title>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="w-780">
<h2>我收藏的小组</h2>  
       <p class="t1"><a href="CompanyList.aspx"><font color="blue">我创建的小组</font></a>&nbsp;&nbsp;&nbsp;<a href="CompanyCareList.aspx"><font color="blue">我关注的小组</font></a>&nbsp;&nbsp;&nbsp;<a href="CompanyAddList.aspx"><font color="blue">我加入的小组</font></a>&nbsp;&nbsp;&nbsp;我收藏的小组</p>
<ul class="formSet mt5">
<asp:Label ID="lblFavoriteCompany" runat="server" ></asp:Label>
    <asp:Repeater ID="rptFavoriteCompanyList" runat="server" 
        onitemcommand="rptFavoriteCompanyList_ItemCommand">
    <HeaderTemplate>
    <table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#cccfd1" bgcolor="#CCCFD1">
<tr align="center">
<td height="30" align="center" bgcolor="#E1E1E1" width="5%"><span class="STYLE4">序号</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">小组名称</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">组长</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="10%"><span class="STYLE4">收视量</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="10%"><span class="STYLE4">小组人数</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="10%"><span class="STYLE4">关注人数</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">收藏日期</span></td>
<td height="30" align="center" bgcolor="#E1E1E1" width="15%"><span class="STYLE4">操作</span></td>
</tr>
    </HeaderTemplate>
    <ItemTemplate>
    <tr>
<td height="30" align="center" bgcolor="#FFFFFF"><%# Container.ItemIndex+1%></td>
<td height="30" align="center" bgcolor="#FFFFFF"><a href="../c/<%#Eval("objectid")%>.aspx" target="_blank"><%#Eval("CompanyName")%></a>
    <asp:HiddenField ID="hidID" runat="server" Value='<%#Eval("ID")%>'/>
</td>
<td height="30" align="center" bgcolor="#FFFFFF"><a href="../u/<%#Eval("CompanyOwnerID")%>.aspx" target="_blank"><%#Eval("CompanyOwnerName")%></a></td>
<td height="30" align="center" bgcolor="#FFFFFF"><%#Eval("BlogPVNum")%></td>
<td height="30" align="center" bgcolor="#FFFFFF"><%#Eval("UserNum")%></td>
<td height="30" align="center" bgcolor="#FFFFFF"><%#Eval("CareNum")%></td>
<td height="30" align="center" bgcolor="#FFFFFF"><%# DataBinder.Eval(Container.DataItem,"CreateDate","{0:yyyy-MM-dd}") %></td>
<td height="30" align="center" bgcolor="#FFFFFF">
    <asp:LinkButton ID="lbCancel" runat="server" OnClientClick="return confirm('确定要删除收藏此小组吗？');" CommandName="delete">删除收藏</asp:LinkButton>
</td>
</tr>
    </ItemTemplate>
    <FooterTemplate>
    </table>
    </FooterTemplate>
    </asp:Repeater>
       </ul>                                                              
</div>
</asp:Content>